<%@tag import="by.epam.communalservices.entity.JkhTask"%>
<%@tag import="by.epam.communalservices.utils.Job"%>
<%@tag import="java.sql.Connection"%>
<%@tag import="java.util.List"%>

<%@ attribute name="id" required="true"%>
<%@ attribute name="link" type="java.lang.Boolean"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib tagdir="/WEB-INF/tags/table" prefix="table"%>


<%

	Connection con = (Connection) request.getSession().getAttribute("currentConnection");
    Job job = new Job(con);
    List<JkhTask> taskList = job.listTeamTask(Long.parseLong(getJspContext().getAttribute("id").toString()));

    request.setAttribute("taskList",taskList);
    
%>

